﻿<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2">
  <class name="EnetaMvc.Core.Domain.Content.Tag,EnetaMvc.Core" table="tags">

    <id name="Id" column="tag_id" type="long">
      <generator class="identity"/>
    </id>

    <property name="Name" column="tag_name" type="string" />

    <many-to-one name="Group" column="tag_group_id" class="EnetaMvc.Core.Domain.Content.TagGroup,EnetaMvc.Core" />
  </class>
</hibernate-mapping>